<template>
  <div class="backgroundWall">
    <div class="myMusic-container">
      <h2 class="myMusic-title">私人音乐空间，听我想听的歌</h2>
      <div class="myMusic-content">登录管理我的音乐,多终端同步</div>
      <a @click.prevent="goLogin" class="myMusic-btn-container"> 立即登录 </a>
    </div>
  </div>
  <Mask :isShowLogin="isShowLogin" @isShowSwichLogin="isShowSwichLogin"></Mask>
</template>

<script>
export default {
  name: 'MyMusic',
}
</script>

<script setup>
import { ref } from 'vue'
const isShowLogin = ref(false)

const isShowSwichLogin = isShow => {
  isShowLogin.value = isShow
}

const goLogin = () => {
  isShowLogin.value = true
}
</script>

<style scoped>
* {
  margin: 0;
  padding: 0;
}
.backgroundWall {
  background-image: url(./img/bg_profile_unlogin.69aad5de.webp);
  width: 100%;
  height: 620px;
  display: flex;
  align-items: center;
  background-size: 100%;
  background-position: 0 -50px;
}
.myMusic-container {
  width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.myMusic-title {
  display: inline-block;
  width: 735px;
  height: 64px;
  color: #fff;
  font-size: 55px;
  font-weight: 200;
}
.myMusic-content {
  font-size: 24px;
  width: 345px;
  height: 30px;
  color: #e6e6e5;
  margin: 0 auto;
  margin-top: 30px;
  margin-bottom: 36px;
}
.myMusic-btn-container {
  cursor: pointer;
  display: inline-block;
  width: 80px;
  height: 46px;
  line-height: 46px;
  padding: 0 23px;
  font-size: 20px;
  background-color: #31c27c;
  color: #fff !important;
  border: 1px solid #31c27c;
  text-decoration: none !important;
}
</style>
